<?php
	$cate = $_->articles->getCates();
	$bang = $_->articles->_select(array('id','title','cates','addtime'),array('type'=>1,'LIMIT'=>'0,8'));
	$smarty->_assign(array('cate','bang'));
?>